package com.dianping.cat.consumer.state.model.entity;

import com.dianping.cat.consumer.state.model.BaseEntity;
import com.dianping.cat.consumer.state.model.IVisitor;
import java.util.Date;
















public class Message
  extends BaseEntity<Message>
{
  private Long m_id;
  private Date m_time;
  private long m_total;
  private long m_totalLoss;
  private long m_dump;
  private long m_dumpLoss;
  private double m_size;
  private double m_delaySum;
  private int m_delayCount;
  private long m_pigeonTimeError;
  private long m_networkTimeError;
  private long m_blockTotal;
  private long m_blockLoss;
  private long m_blockTime;

  public Message() {}

/*  42 */   public Message(Long id) { this.m_id = id; }




/*  47 */   public void accept(IVisitor visitor) { visitor.visitMessage(this); }



  public boolean equals(Object obj) {
/*  52 */     if (obj instanceof Message) {
/*  53 */       Message _o = (Message)obj;

/*  55 */       if (!equals(getId(), _o.getId())) {
/*  56 */         return false;
      }

/*  59 */       return true;
    }

/*  62 */     return false;
  }


/*  66 */   public long getBlockLoss() { return this.m_blockLoss; }



/*  70 */   public long getBlockTime() { return this.m_blockTime; }



/*  74 */   public long getBlockTotal() { return this.m_blockTotal; }



  public int getDelayCount() { return this.m_delayCount; }



/*  82 */   public double getDelaySum() { return this.m_delaySum; }



/*  86 */   public long getDump() { return this.m_dump; }



/*  90 */   public long getDumpLoss() { return this.m_dumpLoss; }



/*  94 */   public Long getId() { return this.m_id; }



/*  98 */   public long getNetworkTimeError() { return this.m_networkTimeError; }



/* 102 */   public long getPigeonTimeError() { return this.m_pigeonTimeError; }



/* 106 */   public double getSize() { return this.m_size; }



/* 110 */   public Date getTime() { return this.m_time; }



/* 114 */   public long getTotal() { return this.m_total; }



/* 118 */   public long getTotalLoss() { return this.m_totalLoss; }






  public void mergeAttributes(Message other) {
/* 132 */     assertAttributeEquals(other, "message", "id", this.m_id, other.getId());

/* 134 */     if (other.getTime() != null) {
/* 135 */       this.m_time = other.getTime();
    }

/* 138 */     this.m_total = other.getTotal();

/* 140 */     this.m_totalLoss = other.getTotalLoss();

/* 142 */     this.m_dump = other.getDump();

/* 144 */     this.m_dumpLoss = other.getDumpLoss();

/* 146 */     this.m_size = other.getSize();

/* 148 */     this.m_delaySum = other.getDelaySum();

/* 150 */     this.m_delayCount = other.getDelayCount();

/* 152 */     this.m_pigeonTimeError = other.getPigeonTimeError();

/* 154 */     this.m_networkTimeError = other.getNetworkTimeError();

/* 156 */     this.m_blockTotal = other.getBlockTotal();

/* 158 */     this.m_blockLoss = other.getBlockLoss();

/* 160 */     this.m_blockTime = other.getBlockTime();
  }

  public Message setBlockLoss(long blockLoss) {
/* 164 */     this.m_blockLoss = blockLoss;
/* 165 */     return this;
  }

  public Message setBlockTime(long blockTime) {
/* 169 */     this.m_blockTime = blockTime;
/* 170 */     return this;
  }

  public Message setBlockTotal(long blockTotal) {
/* 174 */     this.m_blockTotal = blockTotal;
/* 175 */     return this;
  }

  public Message setDelayCount(int delayCount) {
/* 179 */     this.m_delayCount = delayCount;
/* 180 */     return this;
  }

  public Message setDelaySum(double delaySum) {
/* 184 */     this.m_delaySum = delaySum;
/* 185 */     return this;
  }

  public Message setDump(long dump) {
/* 189 */     this.m_dump = dump;
/* 190 */     return this;
  }

  public Message setDumpLoss(long dumpLoss) {
/* 194 */     this.m_dumpLoss = dumpLoss;
/* 195 */     return this;
  }

  public Message setId(Long id) {
/* 199 */     this.m_id = id;
/* 200 */     return this;
  }

  public Message setNetworkTimeError(long networkTimeError) {
/* 204 */     this.m_networkTimeError = networkTimeError;
/* 205 */     return this;
  }

  public Message setPigeonTimeError(long pigeonTimeError) {
/* 209 */     this.m_pigeonTimeError = pigeonTimeError;
/* 210 */     return this;
  }

  public Message setSize(double size) {
/* 214 */     this.m_size = size;
/* 215 */     return this;
  }

  public Message setTime(Date time) {
/* 219 */     this.m_time = time;
/* 220 */     return this;
  }

  public Message setTotal(long total) {
/* 224 */     this.m_total = total;
/* 225 */     return this;
  }

  public Message setTotalLoss(long totalLoss) {
/* 229 */     this.m_totalLoss = totalLoss;
/* 230 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-consumer-3.0.0.jar!/com/dianping/cat/consumer/state/model/entity/Message.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */